package com.qianfeng.day11.service;


import com.qianfeng.day11.dao.BasicSituationDAO;
import com.qianfeng.day11.entity.BasicSituation;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class BasicSituationService {
    @Resource
    private BasicSituationDAO basicSituationDAO;

    public List<BasicSituation> findAllByPhoneId(Integer id){
        return basicSituationDAO.findAllByPhoneId(id);
    }
}
